#ifndef __StarManager_H__
#define __StarManager_H__

#include "cocos2d.h"

USING_NS_CC;

class StarManager : public CCNode{
public:
	StarManager();
	~StarManager();

	static StarManager* createWithLevel(int level,int layerNum);
	virtual bool initWithLevel(int level,int layerNum);

public:
	CCArray* getStarList();

private:
	void loadStarPosList(int level);

	void createStarByPosList(int layerNum);

private:
	CCArray* m_starPosList;

	CCArray* m_starList;
};
#endif // !__StarManager_H__
